<%@ page language="java" import="pandora.bo.DFAJ.*,pandora.dto.*,pandora.bo.login.*,java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

<head>
<title> New product </title>
<link rel="stylesheet" type="text/css" href="style/style.css" />
</head>

<body>

<%
	DBLogin dbl = new DBLogin();

	if(dbl.verifyStore((String)session.getAttribute("session.user"))){
		UpdateCatalog c = new UpdateCatalog();
		
		NewPriceList sessionPrices = (NewPriceList)session.getAttribute("session.prices");
	
%>

<h3>ADDED PRODUCTS:</h3>

<table>
	<tr>
	<td>Barcode</td>
	<td>Product Name</td>
	<td>Price</td>
	</tr>
	
	<% List<PriceProduct> lp = sessionPrices.getList();%>
	<%for(PriceProduct pp: lp){ %>
	<tr>
	<td><%=pp.getProduct().getBarcode()%></td>
	<td><%=pp.getProduct().getProductName()%></td>
	<td><%=pp.getPrice()%></td>
	</tr>
	<% }}%>
	<tr>
	<td>


</table>


	</body>
</html>